package com.cat.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.cat.common.model.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author dd-cat
 * @version 1.0
 * @date 2020-10-13 14:37
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_menu")
public class SysMenu extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜单名称")
    private String name;

    @ApiModelProperty(value = "菜单权限标识")
    private String permission;

    @ApiModelProperty(value = "父菜单ID")
    private Long parentId;

    @ApiModelProperty(value = "菜单图标")
    private String icon;

    @ApiModelProperty(value = "前端路由标识路径")
    private String path;

    @ApiModelProperty(value = "排序值")
    private Integer sort;

    @ApiModelProperty(value = "菜单类型 （0菜单 1按钮）")
    private String type;

    @ApiModelProperty(value = "路由缓冲")
    private String isCache;

    @ApiModelProperty(value = "是否外链")
    private String isFrame;

    @ApiModelProperty(value = "显示状态")
    private String visible;

    private String component;

    private String status;

}
